#ifndef TASKSUI_H
#define TASKSUI_H

#include <QDialog>
#include "tasks/declarativetask.h"
#include <extensions/context.h>

namespace Ui {
    class TasksUI;
}

class DeclarativeExtension;

class TasksUI : public QDialog
{
    Q_OBJECT

public:
    explicit TasksUI(QWidget *parent = 0);
    ~TasksUI();

    void start(const QUrl& url);
private slots:
    void reloadApplication();
private:
    Ui::TasksUI *ui;
    DeclarativeExtension* ext;
    Optra::Extensions::Context* ctx;
    QFileInfo info;
};

#endif // TASKSUI_H
